<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>添加</title> @include("/common/cssAndJs.html"){}
</head>
<body>
	<div class="x-body layui-anim layui-anim-up">
		<div class="layui-container">
			<div class="layui-row">
				<div class="layui-col-md2"></div>
				<div class="layui-col-md8">
					<form action="${ctxPath}/systemUser/systemUserAdd"
						class="layui-form addForm" onsubmit="return false">
						<div class="layui-form-item">
							<label class="layui-form-label"> <span class="x-red">*</span>账号
							</label>
							<div class="layui-input-block">
								<input type="text" id="account" name="account"
					placeholder="请输入账号"	lay-verify="required|maxlengths" autocomplete="off" class="layui-input"  maxlengths="45" >
							</div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label"> <span class="x-red">*</span>密码
							</label>
							<div class="layui-input-block">
								<input type="password" id="password" name="password" 
						placeholder="请输入密码"	eqVlaue="#rpassword" lay-verify="required|boot-eqVlaue|maxlengths"  maxlengths="45"  autocomplete="off" class="layui-input ">
							</div>
							
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label"> <span class="x-red">*</span>确认密码
							</label>
							<div class="layui-input-block">
								<input type="password" id="rpassword" name="rpassword"
							placeholder="请再次输入密码，确保一致"  lay-verify="required"  maxlengths="45"  autocomplete="off" class="layui-input boot-eqVlaue">
							</div>
							
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label"><span class="x-red">*</span> 部门: </label>
							<div class="layui-input-block">
								<input type="hidden" id="deptId" name="deptId" value=""> <input
									type="text" id="showNameDom" name="showNameDom"
									autocomplete="off" class="layui-input boot-layer"
									boot-url="${ctxPath}/common/showTree?treeUrl=${ctxPath}/systemDept/systemDeptList&treeTitle=fullName&showNameDom=showNameDom&showIdDom=deptId"
									boot-width="300" boot-height="400" boot-title="选择部门"
									end="function(){}" placeholder="请选择部门" >
							</div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label"><span class="x-red">*</span> 角色: </label>
							<div class="layui-input-block">
								<select id="roleId" name="roleId"  xm-select="roleId"  xm-select-search  lay-verify="required"  >
									<option value="">请选择一个角色</option>
										@for(role in roleList){
												<option value="${role.id}">${role.name}</option>
										@}
								</select>
							</div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label"><span class="x-red">*</span> 名字 </label>
							<div class="layui-input-block">
								<input type="text" id="name" name="name" lay-verify="required"
							placeholder="请输入您的姓名"		maxlengths="255"   	autocomplete="off" class="layui-input">
							</div>
							
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label"> 生日 </label>
							<div class="layui-input-block">
								<input type="text" id="birthday" name="birthday"  lay-verify="maxlengths"
						placeholder="请选择您的生日"		maxlengths="255"  		autocomplete="off" class="layui-input">
							</div>
							
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label"> 性别 </label>
							<div class="layui-input-block">
								<input type="radio" name="sex" value="1" title="男" checked>
								<input type="radio" name="sex" value="2" title="女">
							</div>
							
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label"> email </label>
							<div class="layui-input-block">
								<input type="text" id="email" name="email"  lay-verify="email|maxlengths"   maxlengths="255"
						placeholder="请输入email"				autocomplete="off" class="layui-input">
							</div>
							
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label"> 电话
							</label>
							<div class="layui-input-block">
								<input type="text" id="phone" name="phone"  lay-verify="phone|maxlengths" maxlengths="45"
							placeholder="请输入电话"				autocomplete="off" class="layui-input">
							</div>
							
						</div>
						<div class="layui-form-item">
							<label for="L_repass" class="layui-form-label"> </label>
							<button class="layui-btn" lay-filter="boot-form-btn" lay-submit="">
								增加</button>
						</div>
					</form>
				</div>
				<div class="layui-col-md2"></div>
			</div>
		</div>
	</div>
	<script src="${ctxPath}/static/js/view/system/systemUser/systemUser.js"></script>
</body>
</html>